﻿using SmartHotel.Dto;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace SmartHotel.Menu
{
    //public interface ISmartHotelAppMenuService :
    //ICrudAppService<
    //    MenuDto,//Defines CRUD methods
    //    int, //Primary key of the book entity
    //    PageMenuResultDto, //Used for paging/sorting
    //    CreateandUpdateMenu> //Used to create/update a book
    //{

    //}
    public interface ISmartHotelAppMenuService :IApplicationService
    {
        Task<ResultDto<List<MenuTreeDto>>> GetListMenu();
        Task<ResultDto<CreateandUpdateMenu>> CreateMenu(CreateandUpdateMenu model);
        Task<ResultDto<CreateandUpdateMenu>> UpdateMenu(CreateandUpdateMenu model);
        Task<ResultDto<List<MenuDto>>> GetPageMenuList();
        Task<ResultDto<MenuDto>> DeleteMenu(int id);
        Task<ResultDto<MenuDto>> GetByIdMenu(int id);
    }
}
